DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomDataSet Class / Remove Method / Remove(Predicate<DicomAttribute>) Method
The predicate to match the attributes to be removed






In This Topic
    Remove(Predicate<DicomAttribute>) Method
    In This Topic
    Removes the attributes from the DataSet that match the selector
    Syntax
    'Declaration
     
    
    Public Overloads Sub Remove( _
       ByVal selector As System.Predicate(Of DicomAttribute) _
    ) 
    'Usage
     
    
    Dim instance As DicomDataSet
    Dim selector As System.Predicate(Of DicomAttribute)
     
    instance.Remove(selector)
    public void Remove( 
       System.Predicate<DicomAttribute> selector
    )
    public procedure Remove( 
        selector: System.Predicate
    ); 
    public function Remove( 
       selector : System.Predicate
    );
    public: void Remove( 
       System.Predicate<DicomAttribute*>* selector
    ) 
    public:
    void Remove( 
       System.Predicate<DicomAttribute^>^ selector
    ) 

    Parameters

    selector
    The predicate to match the attributes to be removed
    Remarks

    If the appropriate data element exists in the DicomDataSet, it is removed.

    No error is generated if the requested item is not present in the DataSet.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also